package com.dhecp.project.logstics.mapper;

import java.util.List;
import java.util.Map;

import com.dhecp.project.business.domain.FbaLogsticsOrderDetail;
import com.dhecp.project.logstics.domain.FbaBox;
import com.dhecp.project.storage.domain.HwTailprogram;
import org.apache.ibatis.annotations.Param;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.logstics.domain.FbaBoxDetail;

/**
 * DAO
 * @author Jason
 */
public interface FbaBoxDetailMapper extends GenericDao<FbaBoxDetail, String>  {

	/**
     * 查询实体
     * @author Jason
	 */
	List<FbaBoxDetail> findFbaBoxDetail(Map<String, Object> params);

	/**
	 * 批量fbaBoxDetailBatchList查询实体
	 * @author fxz
	 */
	List<FbaBoxDetail> fbaBoxDetailBatchList(List<FbaBox> fbaBoxList);

	/**
     * 查询单个实体
     * @author Jason
	 */
	FbaBoxDetail queryFirstByGuid(@Param("guid") String guid);
	
	/**
	 * 新增实体
     * @author Jason
	 */
	int insertFbaBoxDetail(FbaBoxDetail entity);
	
	/**
	 * 通过guid修改实体
     * @author Jason
	 */
	int updateByGuid(FbaBoxDetail entity);
	
    List<FbaBoxDetail> queryList(Map<String, Object> params);

	void deleteCodeBox(@Param("codeBox") String codeBox);

	List<FbaBoxDetail> findFbaBoxDetailBatch1(List<FbaLogsticsOrderDetail> fbaLogsticsOrderDetailList);

	int updateBatchCode(List<FbaBoxDetail> entity);

}
